An Event Calculus Treatment of the Invoicing of Orders

ثبت نشده
چکیده

minimise this tendency, for example by supplying orders as a set at the system interface, and only arranging them internally as a sequence. This allows us to regard the iterative precess used to process orders one at a time as a description rather than a prescription. If the implementor has his own procedure for processing orders he should be able to insert this at the appropriate place. The results achieved will not be observably diierent from what is described here. The Event Calculus allows is to model information systems in terms of communications state machines. For the Invoicing of Orders case study, we have proposed a solution which consists of three machines, which deal respectively with the invoicing of orders, the maintainance of a stock inventory, and the cancellation of orders. A number of choices have been made in the construction of this speciic-ation, and these will now be reviewed.. The system operates in a cycle, inputting details of orders and stock delivery and outputting requests for dispatch on each cycle. Orders which cannot be met from existing stock are retained and retried on the following cycle, when the receive priority over any new orders. We do not generate any partial orders, i.e. orders which include as much of the ordered item as is currently available. We do not distinguish between an item which is normally held in stock but which is currently out of stock, and an item which is not part of our catalogue. This simpliies our speciication by allowing us to describe stock levels and stock deliveries as total functions, but would be an over simpliication for a real system. We only allow the input of new stock and new orders at a certain point in the cycle. We made this choice partly show that the calculus can express such constraints. The could be relaxed by adding additional state machines. For example we could add a machine dedicated to the input of orders, available to perform such input at any time, which passes accumulated orders to the current system on request. We have also taken a meta level design decision to work with a simple calculus which has no in-built notion of fairness or priority. It is possible to replace the Event Calculus rules, which are assumed as a preamble to our speciication, by alternative rules which embody the notion of priority and fairness at the primitive …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Method to Combine any Process Algebra with an Algebraic Specification Language: the p-Calculus Example

We introduce in [14] the formal foundations to make a generic combination of one process algebra and one algebraic specification language possible. Furthermore, to strengthen the contribution of this work, a concrete illustration about an orders invoicing case study is detailed in [13]. In this paper, we especially focus on the addition of other languages; indeed in the initial work, we only co...

متن کامل

An analytic study on the Euler-Lagrange equation arising in calculus of variations

The Euler-Lagrange equation plays an important role in the minimization problems of the calculus of variations. This paper employs the differential transformation method (DTM) for finding the solution of the Euler-Lagrange equation which arise from problems of calculus of variations. DTM provides an analytical solution in the form of an infinite power series with easily computable components. S...

متن کامل

A Method to Combine any Process Algebra with an Algebraic Specification Language: the -Calculus Example

We introduce in [10] the formal foundations to make a generic combination of one process algebra and one algebraic specification language possible. Furthermore, to strengthen the contribution of this work, a concrete illustration about an orders invoicing case study is detailed in [9]. In this paper, we especially focus on the addition of other languages; indeed in the initial work, we only con...

متن کامل

SLIDING MODE CONTROL BASED ON FRACTIONAL ORDER CALCULUS FOR DC-DC CONVERTERS

The aim of this paper is to design a Fractional Order Sliding Mode Controllers (FOSMC)for a class of DC-DC converters such as boost and buck converters. Firstly, the control lawis designed with respect to the properties of fractional calculus, the design yields an equiv-alent control term with an addition of discontinuous (attractive) control law. Secondly, themathematical proof of the stabilit...

متن کامل

The Effects of Different SDE Calculus on Dynamics of Nano-Aerosols Motion in Two Phase Flow Systems

Langevin equation for a nano-particle suspended in a laminar fluid flow was analytically studied. The Brownian motion generated from molecular bombardment was taken as a Wiener stochastic process and approximated by a Gaussian white noise. Euler-Maruyama method was used to solve the Langevin equation numerically. The accuracy of Brownian simulation was checked by performing a series of simulati...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997